<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
	include('user_type/system.php');
	include('access/login_functions.php');
?>

<head>	
	<link rel="stylesheet" type="text/css" href="style_1.css">

	<title>Page Results</title>
	
 </head>
<body>

<div class="above_body"> <!-- closing tag is in template navbar -->
	<div id="header" class="floatcontainer doc_header">
		<div><a name="top" href="" class="logo-image"><img src="images\QUESTwtrl2.png"  title=""></a></div>
			<div id="toplinks" class="toplinks">
			
				<ul class="nouser">
				
					<li><a href="" rel="nofollow">Register</a></li>
				
					<li>
					
					<form id="navbar_loginform" action="access/login.php" method="post" >
					<input type="hidden" name="currentPage" value="<?php echo System::curPageName(); ?>" />
						<fieldset id="logindetails" class="logindetails">
							<div>
								<div>
							
						<?php // check if user is logged in
							if(isset($_SESSION['user']))
							{	$user = $_SESSION['user'];
								// if so, display username with tools
								echo "<div style=\"font-size: 16px; font-weight: bold;\">";
								echo "Welcome, $user <br />";
								echo "<a href=\"access/logout.php\">Log Out</a>";
								echo "<a href=\"\">myTools</a>";
								echo "<a href=\"\">myProfile</a>";
								
								echo "</div>";
							}
							else
							{	// otherwise, display login form
								echo "<input type=\"text\" class=\"textbox default-value\" name=\"user\" id=\"navbar_username\" size=\"10\" tabindex=\"101\" value=\"Username\"> ";
								echo "<input type=\"text\" class=\"textbox default-value\" tabindex=\"102\" name=\"pass\" id=\"navbar_password_hint\" size=\"10\" value=\"Password\" style=\"display: inline; \"> ";
								echo "<input type=\"submit\" class=\"loginbutton\" tabindex=\"104\" value=\"Log in\" title=\"Enter your username and password in the boxes provided to login.\" accesskey=\"s\">";
							}
						?>
					</li>
				</ul>
			</div>
	</div> 
	<div id="navbar" class="navbar">

		<ul id="navtabs" class="navtabs floatcontainer">					
		</ul>
	</div>
</div><!-- closing div for above_body -->
 
	<div style="padding:5px">
		<center>
			<input type="text" style="font-size: 13pt" name="txtsearch" value="Intel" size="65">
			<input type="submit"  style="font-size: 11pt; text-align:center; height: 27px; width: 190px" class="button" value="Search" size="20">
		</center>
	</div>


<form id="mainsearch" action="" name="search" method="" onsubmit="return verify_passwords(password, passwordconfirm);" class="vbform block">

	<h2 class="blockhead">Search Results</h2>
	<div class="blockbody formcontrols">

		<div class="section">
			<div class="blockrow">
				<ul class="group">
					<h1>Showing 4 Results in 0.01 Seconds</h1>
				</ul>
			</div>
			<div class="blockrow">
				<li>
					<h1><b><u><a ref="">Intel Coorporation</u></a></b></h1>
				</li>
				<li>Intel Corporation is an American global technology company and the world's largest semiconductor chip maker...</li>
				<li style="color:#0000CC">John Smith - 50KB - Last Modified: 3/18/2001</li>
			</div>
			<div class="blockrow">
				<li>
					<h1><b><u><a ref="">List of Intel microprocessors</u></a></b></h1>
				</li>
				<li>This generational and chronological list of Intel microprocessors attempts...</li>
				<li style="color:#0000CC">Errol Parker - 67KB - Last Modified: 3/18/2001</li>
			</div>
			<div class="blockrow">
				<li>
					<h1><b><u><a ref="">Intel GMA</u></a></b></h1>
				</li>
				<li>The Intel Graphics Media Accelerator, or GMA, is Intel's current line of ...</li>
				<li style="color:#0000CC">Jean Pierre - 39KB - Last Modified: 3/18/2001</li>
			</div>
			<div class="blockrow">
				<li>
					<h1><b><u><a ref="">Semiconductor</u></a></b></h1>
				</li>
				<li>A semiconductor is a material with electrical conductivity due to electron flow intermediate in magnitude ...</li>
				<li style="color:#0000CC">Louis Urguiles - 80KB - Last Modified: 3/18/2001</li>
			</div>
			<div class="blockrow">
				<li>
					<h1><b><u><a ref="">more .... </u></a></b></h1>
				</li>
			</div>
		</div>
	</div>
</form>
<div id="footer" class="floatcontainer footer">

		<center><a href="">Contact WebMaster</a></center>
 

</div>
 </body></html>